﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SAUlot
{
    public partial class Form1 : Form
    {
        private AirplaneControler airplaneControler;
        public AirplaneControler Controler
        {
            get { return airplaneControler; }
            set { airplaneControler = value; }
        }

        public AirplaneView view
        {
            get { return airplaneView; }
            set { airplaneView = value; }
        }

        private RaportForm raportForm;
        public Form1()
        {
            InitializeComponent();
            raportForm = new RaportForm();
            raportForm.Hide();
        }

        public Size ViewportSize
        {
            get { return canvas.Size; }
        }

        private void raportButton_Click(object sender, EventArgs e)
        {
            raportForm.Show();
        }

        private void startStopButton_Click(object sender, EventArgs e)
        {

        }
    }
}
